From: Adrian Bunk Date: Wed, 28 Jan 2026 11:53:25 +0000 (+0100) Subject: HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro X-Git-Tag: archive/raspbian/9.5.2+dfsg3-4+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=0200b33f40520573e5a511bc85f32b245739dbe1;p=vtk9.git HACK: vtkQWidgetTexture.cxx: Don't use vtkOpenGLCheckErrorMacro Fixes building for Qt with OpenGL ES. Gbp-Pq: Name 84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch --- diff --git a/GUISupport/Qt/vtkQWidgetTexture.cxx b/GUISupport/Qt/vtkQWidgetTexture.cxx index e6a83c42..e46f95ba 100644 --- a/GUISupport/Qt/vtkQWidgetTexture.cxx +++ b/GUISupport/Qt/vtkQWidgetTexture.cxx @@ -7,7 +7,7 @@ #include "vtkOpenGLResourceFreeCallback.h" #include "vtkOpenGLState.h" -#include "vtkOpenGLError.h" +//#include "vtkOpenGLError.h" #include #include @@ -88,7 +88,7 @@ vtkQWidgetTexture::vtkQWidgetTexture() } this->Create2DFromRaw(width, height, 4, VTK_UNSIGNED_CHAR, this->ImageBuffer); - vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw"); + //vtkOpenGLCheckErrorMacro("failed after QWidgeTexture repaint and draw"); } }; }